import { createRequire } from 'module'
import 'babel-polyfill'
import 'core-js/stable';
import 'regenerator-runtime/runtime';
const require = createRequire(import.meta.url)
const { app, BrowserWindow } = require('electron')
const createWindow = () => {
  const win = new BrowserWindow({
    width: 800,
    height: 600
  })

  win.loadFile('index.html')
  win.webContents.openDevTools()
}
app.whenReady().then(() => {
  createWindow()
})
